package com.sanrenzu.everybodytv.db;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

/**
 * Created by asus on 2016/9/8.
 */

@DatabaseTable(tableName = "user")
public class Collecion {
    //id自增
    @DatabaseField(generatedId = true)
    private int id ;
    @DatabaseField
    private String name;
    @DatabaseField
    private String url;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Collecion() {

    }

    public Collecion(int id, String name, String url) {
        this.id = id;
        this.name = name;
        this.url = url;
    }
}
